package com.leinao.team.model;

import java.io.Serializable;

/**
 * @Author: huopengfei
 * @Date: 2019/4/23 10:53
 * @Description:
 * @Version 1.0
 */
public class PaiTeamMember implements Serializable {
    /**
     * 唯一标识
     */
    private Long id;
    /**
     * 团队id
     */
    private Long teamId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 用户角色：0：普通用户 1：所属人
     */
    private int role;
    /**
     * 用户算力使用状态：0：启动 1：禁用
     */
    private int powerStatus;
    /**
     * 用户有效性：0：有效 1：无效（被踢除）
     */
    private int delFlag;
    /**
     * 用户来源 0：管理员添加 1：邀请链接添加
     */
    private int source;
    /**
     * 创建时间
     */
    private Long createDate;
    /**
     * 更新时间
     */
    private Long updateDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getPowerStatus() {
        return powerStatus;
    }

    public void setPowerStatus(int powerStatus) {
        this.powerStatus = powerStatus;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Long updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "PaiTeamMember{" +
                "id=" + id +
                ", teamId=" + teamId +
                ", userId='" + userId + '\'' +
                ", role=" + role +
                ", powerStatus=" + powerStatus +
                ", delFlag=" + delFlag +
                ", source=" + source +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                '}';
    }
}
